﻿using System;
using System.Xml.Serialization;
using System.Diagnostics;
using PrearrangedChaos.AgileZen.Service.Model;

namespace PrearrangedChaos.AgileZen.Service.Rest
{
    /// <remarks/>
    [DebuggerStepThroughAttribute()]
    [XmlTypeAttribute(AnonymousType = true)]
    [XmlRootAttribute(ElementName = "projects", Namespace = "", IsNullable = false)]
    [ZenRestRequest("projects")]
    public partial class ProjectCollection : PagingCollection<Project>
    {
        private Project[] _items;

        /// <remarks/>
        [XmlArrayItemAttribute("project", IsNullable = true)]
        [XmlArray(ElementName = "items")]
        public Project[] Items
        {
            get
            {
                return this._items;
            }
            set
            {
                this._items = value;
            }
        }

        public override Project[] GetItems()
        {
            return this._items;
        }
    }
}